package com.yonyou.sto.modules.ums.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yonyou.sto.modules.ims.mapper.ImsPartyAdminRelationMapper;
import com.yonyou.sto.modules.ums.mapper.UmsAdminOrgRelationMapper;
import com.yonyou.sto.modules.ums.model.UmsAdminOrgRelation;
import com.yonyou.sto.modules.ums.service.UmsAdminOrgRelationService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 后台管理员管理Service实现类
 * Created by barry on 2022/12/03.
 */
@Service
public class UmsAdminOrgRelationServiceImpl extends ServiceImpl<UmsAdminOrgRelationMapper, UmsAdminOrgRelation> implements UmsAdminOrgRelationService {

    @Resource
    UmsAdminOrgRelationMapper umsAdminOrgRelationMapper;

    @Override
    public List<String> getNcOrgByAdminId(String adminId) {
        return umsAdminOrgRelationMapper.getNcOrgByAdminId(adminId);
    }
}
